package com.sc.nft.controller.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class RefundLsRequest {

    @ApiModelProperty("原订单")
    @NotBlank(message = "原订单号不能为空")
    private String orgTradeNo;
    @ApiModelProperty("交易日期")
    @NotNull(message = "交易日期不能为空")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dealTime;
    @ApiModelProperty("退款金额")
    @NotNull(message = "退款金额不能为空")
    private BigDecimal refundAmount;
}
